﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for TATravellersToInsure
/// </summary>
/// 
namespace CE.TravelInsurance
{
    public class TATravellersToInsure
    {
        public TATravellersToInsure()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _tatraid;
        private Int64 _tapersonnelid;
        private Int64 _providercompanyid;
        private string _salutation;
        private string _fullname;
        private string _identificationtype;
        private string _identificationnum;
        private string _gender;
        private DateTime _birthday;
        private string _nationality;
        private string _relationship;
        private string _occupation;
        private bool _status;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;

        private string _info1;
        
        public Int64 TATraId
        {
            get { return _tatraid; }
            set { _tatraid = value; }
        }

        public Int64 TAPersonnelId
        {
            get { return _tapersonnelid; }
            set { _tapersonnelid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public string Salutation
        {
            get { return _salutation; }
            set { _salutation = value; }
        }

        public string Fullname
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        public string IDType
        {
            get { return _identificationtype; }
            set { _identificationtype = value; }
        }

        public string IDNumber
        {
            get { return _identificationnum; }
            set { _identificationnum = value; }
        }

        public string Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        public DateTime Birthday
        {
            get { return _birthday; }
            set { _birthday = value; }
        }

        public string Nationality
        {
            get { return _nationality; }
            set { _nationality = value; }
        }

        public string Relationship
        {
            get { return _relationship; }
            set { _relationship = value; }
        }

        public string Occupation
        {
            get { return _occupation; }
            set { _occupation = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }


        public void ClearFields()
        {
            _tatraid = 0;
            _tapersonnelid = 0;
            _providercompanyid = 0;
            _salutation = "";
            _fullname = "";
            _identificationtype = "";
            _identificationnum = "";
            _gender = "";
            _birthday = DateTime.Parse("1/1/1900");
            _nationality = "";
            _relationship = "";
            _occupation = "";
            _status = true;
            _refceuserid = 0;
            _vieweddetailid = 0;
            
        }


    }
}
